package cn.com.generaldata.os.vo;

/**
 * 指标与报表关系值对象，屏蔽省指标与制度之间的差异.
 */
public class ReportTypeIndicatorVO implements java.io.Serializable {

	private static final long serialVersionUID = -3328190903012692604L;

	/**
	 * 报表类型id
	 */
	private String reportTypeId;
	/**
	 * 指标id
	 */
	private Integer indicatorId;
	/**
	 * 指标所处行
	 */
	private Integer row;
	/**
	 * 指标所处列
	 */
	private Integer theColumn;

	/** 指标数据类型 */
	private Integer dataType;

	public String getReportTypeId() {
		return reportTypeId;
	}

	public void setReportTypeId(String reportTypeId) {
		this.reportTypeId = reportTypeId;
	}

	public Integer getIndicatorId() {
		return indicatorId;
	}

	public void setIndicatorId(Integer indicatorId) {
		this.indicatorId = indicatorId;
	}

	public Integer getRow() {
		return row;
	}

	public void setRow(Integer row) {
		this.row = row;
	}

	public Integer getTheColumn() {
		return theColumn;
	}

	public void setTheColumn(Integer theColumn) {
		this.theColumn = theColumn;
	}

	public Integer getDataType() {
		return dataType;
	}

	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((indicatorId == null) ? 0 : indicatorId.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		ReportTypeIndicatorVO other = (ReportTypeIndicatorVO) obj;
		if (indicatorId == null) {
			if (other.indicatorId != null) {
				return false;
			}
		} else if (!indicatorId.equals(other.indicatorId)) {
			return false;
		}
		return true;
	}

}
